package Models
{
	import mx.collections.ArrayCollection;
	import mx.states.OverrideBase;

	public class OrderListItem
	{
		[Bindable]
		public var isVisible : Boolean;
		
		[Bindable]
		public var isSortedBy : Boolean;
		
		[Bindable]
		public var isDescending : Boolean;
		
		[Bindable]
		public var title : String;
		
		public function OrderListItem(_isVisible : Boolean, _isSortedby : Boolean, _isDescending : Boolean, _title : String)
		{
			isVisible = _isVisible;
			isSortedBy = _isSortedby;
			isDescending = _isDescending;
			title = _title;
		}
		
		public function toString() : String 
		{
			return "v: " + isVisible.toString() + ", s: " + isSortedBy + ", d: " + isDescending + ", t: " + title;
		}
	}
}